﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SmartSpace.Workflow
{
    public class WorkflowInstance
    {
        public Guid Id { get; set; }
        public string Caption { get; set; }

        public Guid DataId { get; set; }

        public Guid WorkflowId { get; set; }
        public WorkflowMetadata Workflow { get; set; }

        /// <summary>
        /// 当前所处的Activity
        /// </summary>
        public Guid ActivityId { get; set; }
        public ActivityMetadata Activity { get; set; }

        public List<WorkflowDriveRecord> DriveRecords { get; set; }
    }
}
